import request from "@/utils/request";

/**
 * 设备运⾏数据监测
 * @returns {*}
 */
export function getOperationalData() {
    return request({
        url: '/batterySwapStation/getOperationalData',
        method: 'GET',
    })
}

/**
 * 各市充电基础设施建设情况
 * @returns {*}
 */
export function getSwapStationPlanningGoalsGroupByCity() {
    return request({
        url: '/batterySwapStation/getSwapStationPlanningGoalsGroupByCity',
        method: 'GET',
    })
}
/**
 * 业务类型情况分析
 * @returns {*}
 */
export function getLowWsapChargingGroupbyBusinessType() {
    return request({
        url: '/batterySwapStation/getLowWsapChargingGroupbyBusinessType',
        method: 'GET',
    })
}
/**
 * 充电设施运营状态占⽐
 * @returns {*}
 */
export function getLowWsapChargingGroupbyStatus() {
    return request({
        url: '/batterySwapStation/getLowWsapChargingGroupbyStatus',
        method: 'GET',
    })
}
/**
 * 换电桩建设增⻓情况分析
 * @returns {*}
 */
export function getLowWsapChargingStationGroupbyQuarter() {
    return request({
        url: '/batterySwapStation/getLowWsapChargingStationGroupbyQuarter',
        method: 'GET',
    })
}
/**
 * ⽤电类型情况分析
 * @returns {*}
 */
export function getLowWsapChargingGroupbyPowerUsageType() {
    return request({
        url: '/batterySwapStation/getLowWsapChargingGroupbyPowerUsageType',
        method: 'GET',
    })
}
/**
 * 各市充电设施建设情况
 * @returns {*}
 */
export function getLowWsapChargingStationCountGroupbyCity() {
    return request({
        url: '/batterySwapStation/getLowWsapChargingStationCountGroupbyCity',
        method: 'GET',
    })
}
/**
 * 电池状态情况分析⻓情况分析
 * @returns {*}
 */
export function getCountGroupbyCityApi() {
    return request({
        url: '/batterySwapStation/getCabinetWarehouseGroupByCity',
        method: 'GET',
    })
}
/**
 * 电池状态情况分析
 * @returns {*}
 */
export function getCabinetOnlineStatusApi() {
    return request({
        url: '/batterySwapStation/getLowWsapChargingGroupbyCabinetOnlineStatus',
        method: 'GET',
    })
}
/**
 * @description 地圖弹窗
 * @returns {*}
 */
export function getMonitoringData(data){
    return request({
        url:'/batterySwapStation/monitoringData?name='+data.name,
        method:'GET',
        data
    })
}
/**
 * @description 地圖
 * @returns {*}
 */
export function getLowWsapChargingStationLongitudeAndLatitude(data){
    return request({
        url:'/batterySwapStation/getLowWsapChargingStationLongitudeAndLatitude',
        method:'GET',
        data
    })
}

/**
 * @description 地圖点
 * @returns {*}
 */
export function allChargeStation(){
    return request({
        url:'/batterySwapStation/allChargeStation',
        method:'GET',
    })
}

